/*
 * @Description: 
 * @Version: 2.0
 * @Autor: 张磊
 * @Date: 2020-11-18 20:23:33
 * @LastEditors: 张磊
 * @LastEditTime: 2020-11-19 10:56:03
 * @FilePath: \marker\src\api\user.ts
 */
import {request} from 'umi'
import {ILoginData} from '@/utils/types'
//登录接口
export const login=(data:ILoginData)=>{
    return request('/auth/loginByMobile',{
        method:'POST',
        params:{},
        data:data
    })
}

